<div id="main-content">
	<br />
	<br />
	<br />
	<br />
	<br />
	<br />
	<center>
		<script type="text/javascript">
		$(document).ready(function(){
			$('#login-form form').submit(function(){
				if($('#passwordtext').val()=='' || $('#emailtext').val()==''){
					alert('Email hoặc password còn trống');
					return false;
				}
				$('#md5passwordtext').val(MD5($('#passwordtext').val()));
			})
		})
		</script>
		<div id="login-form" class="alert alert-info" style="width: 300px;">
			<form action="<?php echo base_url(); ?>index.php/auth/login" method="POST">
				<?php echo $message;?>
				<br />
				<br />
				<!--<input type="text" id="emailtext" name="email" class="input" placeholder="Email">
				<br />
				<input type="password" id="passwordtext" class="input" placeholder="Password">
				<input type="hidden" id="md5passwordtext" name="password">-->
				<div class="btn-group">
					<!--<a class="btn btn-primary" type="submit" value="Đăng nhập" onclick="$('#login-form form').submit();">Login</a>-->
					<a class="btn btn-primary" href="<?php echo base_url(); ?>index.php/auth/open_login" type="submit" value="Đăng nhập với Google">Đăng nhập với Google</a>
				</div>
			</form>
		</div>
	</center>

</div>